home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts26-13
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: Borlad C++ - linker error
- Date: Tue, 06 Feb 96 22:06:01 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4f8j2c$ffl@sam.inforamp.net>
- References: <1996Feb6.114610@rclsgi.eng.ohio-state.edu>
- NNTP-Posting-Host: ts26-13.tor.inforamp.net
- Keywords: C++
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <1996Feb6.114610@rclsgi.eng.ohio-state.edu>,
- khamitka@rclsgi.eng.ohio-state.edu (sudheer khamitkar ) wrote:
- >
- >HI,
- >
- >I have written some programs in C++ on UNIX
- >systems and was trying to port them to a PC with
- >Borland C++-4.0.
- >
- >The programs compile alright, but when linking,
- >I get a linker error like this :
- >
- >Linker Error : Undefined Symbol OwlMain( int, far* far*) in
- > library file D:\BC4\LIB\owlwi.lib in module winmain.
- >
- >
- >I have no clue as to what is happening. If anyone
- >has any idea, please email me. Any help is appreciated.
- >
- >Thanks in advance.
- >
- >Bye,
- >Sudheer.
- >
-
- You have toggled the switch to write an object windows application. Unix
- applications generally start with the function main(...). Object windows
- application start with the function OwlMain(...). If you are trying to write
- a character based program, then you cannot use object windows and must use
- EasyWin instead.
-
- Agrivar
-